export  default {
        //人脸比对成功相似百分比
        minSimilarity:80,
        getRemSize(){
            var size=document.documentElement.style.fontSize;
            return  Number(size.slice(0,size.length-2));
        },
        witnessErrorCode(code){
            switch (code) {
                case "222202":
                    return "检测不到人脸";
                case "222203":
                    return "无法解析人脸";
                case "223113":
                    return "人脸被遮挡";
                case "223114":
                    return "图片人脸模糊";
                case "223115":
                    return "亮度不足";
                case "223116":
                    return "人脸不完整";
            }
        }
}